<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 开发环境版本，包含了有帮助的命令行警告 -->
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        {{message}}
      <div v-bind:title="date">
          鼠标悬停信息！
      </div>
      <div v-if="seen">
         看星星看月亮
      </div>
      <div>
          <ol>
              <li  v-for="todo in todos">
                  {{todo.text}}
              </li>
          </ol>
      </div>
    </div>
    
    <script>
        var app = new Vue({
            el:"#app",
            data:{
                message:"vue程序",
                date:'成功查看悬停信息',
                seen:true,
                todos:[
                    {text:'星辰'},
                    {text:'大海'},
                    {text:'无边'},
                    {text:'海洋'},
                    {text:'深渊'}
                ]
            }
        });
    </script>
</body>
</html>